package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author czg
 * @date 2021/9/10 6:38 下午
 */
@Data
@TableName("t_member")
@ApiModel
public class SysMember {

    @TableId(type = IdType.AUTO)
    private String id;

    @ApiModelProperty
    private String loginName;

    @ApiModelProperty
    private String name;

    @ApiModelProperty
    private String employNo;

    @ApiModelProperty
    private String departmentId;

    @ApiModelProperty
    private String email;

    @ApiModelProperty
    private String phone;

    @ApiModelProperty
    private Date createTime;


    @ApiModelProperty
    private String roleId;

    @ApiModelProperty
    @JsonIgnore
    private String passwd;

}
